package com.sheepone.util.structure.tree;

import com.sheepone.util.structure.IndexedContainer;

/**
 * @author Miss.杨
 * @description
 * @since 2024/5/8 - 9:07
 */
public abstract class IndexedTree<E> extends IndexedContainer {
    protected E[] elements;

    public IndexedTree(int capacity) {
        super(capacity);
    }

    @Override
    public void clear() {
        elements = null;
        size = 0;
    }

}
